package com.ants.boot.system.dto.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/17 18:02
 */
@ApiModel(value = "重置密码对象")
public class ResetPasswordDto {

    @ApiModelProperty("用户主键")
    private Integer id;

    @ApiModelProperty(value = "新密码",required = true)
    @NotBlank(message = "新密码不能为空！")
    private String newPassword;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
